package com.ddyx.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 人脸检测结果
 * 
 * @author zhongchzh
 *
 */
public class FaceDetectResult {
	
	/** 检测出人脸信息 **/
	private List<DetectFaceInfo> resultList;
	
	public FaceDetectResult() {
		this.resultList = new ArrayList<DetectFaceInfo>(5);
	}

	public int getResultSize() {
		return this.resultList .size();
	}
	
	public List<DetectFaceInfo> getResultList() {
		return resultList;
	}

	public void setResultList(List<DetectFaceInfo> resultList) {
		this.resultList = resultList;
	}
	
	public void addFaceInfo(DetectFaceInfo faceInfo) {
		this.resultList.add(faceInfo);
	}
}
